package demo;

/**
 * 等腰三角
 * @Author zhang heqiang
 * @Date 2020/4/25
 * @return
 **/

public class Demo03 {
    public static void main(String[] args) {
        for (int i =1 ; i <= 8; i++) {
            for (int j=8;j>=i;j--){
                System.out.print(" ");
            }
            for (int k=1;k<=2*i-1;k++){
                System.out.print("*");
            }
            System.out.println();
        }
    }
}